//#ifndef WAITTRANS_H
//#define WAITTRANS_H

//#include <QThread>
//#include <QDebug>

////#include "camera.h"
//#include "savethread.h"
//#include "libaxidma.h"
//#include "axil_cmd.h"
//#include "camera_define.h"
//#include "sensor_user.h"




//class SaveThread;
//class WaitTrans
//{
//public:
//    WaitTrans();
//    void waitAndSave(int *dma_success_flag, axidma_dev_t dev, int channel, void *buf, size_t len,
//                     axil_cmd_handle* axil_cmd_user, unsigned char **image_mid0, char *rx_buf,
//                     int* fd_name, int cameraIndex, CameraSpace::CameraInfo* cameraInfo, QList<QByteArray> &list);
//private:
//    QByteArray IntToArray(int v);
//    QByteArray ShortToArray(unsigned short v);
//private:
//    QImage image;
//    SaveThread *pworkThread;//存储照片的线程
//};

//#endif // WAITTRANS_H
